function base_val = orth_base_func2(A,X)
K=length(A)-1;
base_val=zeros(length(X),1);
for iiK=0:K
    base_val=base_val+X.^iiK*A(iiK+1);
end
end